package com.study.lxy.springcloud.uclient.constants;

import com.study.lxy.springcloud.common.exception.ErrorMsg;

public enum RespCodeEnum implements ErrorMsg {
    SUCCESS("0000","交易成功"),
    COMMON_ERROR("9999","系统异常，请稍后重试"),
    IDNO_USED("1001","证件号已被使用"),
    MOBILE_USED("1002","手机号已被占用"),
    PW_MD5_ERROR("1003","系统错误，请重试"),
    PARM_INVILD("1004","参数不正确"),
    USER_OR_PWD_INVILD("0005","用户名或密码错误");

    private String code;
    private String message;
    RespCodeEnum(String code, String message){
        this.code = code;
        this.message = message;
    }
    public String getCode(){
        return code;
    }
    public String getMessage(){
        return message;
    }

}
